package schooltg.core.persist.dao;

import schooltg.core.data.Education;
import schooltg.core.persist.entity.EducationPO;
import mtons.modules.persist.BaseRepository;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by liuyangfx on 16-4-25.
 */
public interface EducationDao extends BaseRepository<EducationPO> {
    public EducationPO getEducationByUserId(long id);

    void insertEducation(Education education);

    void saveOrUpdateEducation(Education education);

    void updateEducation(Education education);

    List<EducationPO> getEducationByUserIds(Set<Long> ids);
}
